package com.dkd.manage.domain;

import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工单详情对象 tb_task_details
 *
 * @author liuhongjun
 * @date 2024-12-26
 */
@ApiModel(description = "工单详情实体类")
public class TaskDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 详情ID
     */
    @ApiModelProperty(value = "详情ID", example = "1")
    private Long detailsId;

    /**
     * 工单Id
     */
    @ApiModelProperty(value = "工单Id", example = "1001")
    @Excel(name = "工单Id")
    private Long taskId;

    /**
     * 货道编号
     */
    @ApiModelProperty(value = "货道编号", example = "A01")
    @Excel(name = "货道编号")
    private String channelCode;

    /**
     * 补货期望容量
     */
    @ApiModelProperty(value = "补货期望容量", example = "10")
    @Excel(name = "补货期望容量")
    private Long expectCapacity;

    /**
     * 商品Id
     */
    @ApiModelProperty(value = "商品Id", example = "2001")
    @Excel(name = "商品Id")
    private Long skuId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称", example = "可口可乐")
    @Excel(name = "商品名称")
    private String skuName;

    /**
     * 商品图片
     */
    @ApiModelProperty(value = "商品图片", example = "http://example.com/image.jpg")
    @Excel(name = "商品图片")
    private String skuImage;

    public void setDetailsId(Long detailsId) {
        this.detailsId = detailsId;
    }

    public Long getDetailsId() {
        return detailsId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setExpectCapacity(Long expectCapacity) {
        this.expectCapacity = expectCapacity;
    }

    public Long getExpectCapacity() {
        return expectCapacity;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    public String getSkuImage() {
        return skuImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("detailsId", getDetailsId())
                .append("taskId", getTaskId())
                .append("channelCode", getChannelCode())
                .append("expectCapacity", getExpectCapacity())
                .append("skuId", getSkuId())
                .append("skuName", getSkuName())
                .append("skuImage", getSkuImage())
                .toString();
    }
}
